﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--#include file="utf-8.asp"-->
<!--#include file="conn.asp"-->
<!--#include file="Include.asp"-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>创意产业园</title>
<link href="images/style.css" rel="stylesheet" type="text/css"/>
<script src="http://code.jquery.com/jquery-latest.js"></script>
<script src="images/js.js" type="text/ecmascript"></script>
<script type="text/javascript" src="images/jcarousellite.js"></script>
</head>
<body>
<script language="JavaScript" type="text/javascript">
    function addCookie(objName, objValue, objHours) {
        var str = objName + "=" + escape(objValue);
        if (objHours > 0) {
            var date = new Date();
            var ms = objHours * 3600 * 1000;
            date.setTime(date.getTime() + ms);
            str += "; expires=" + date.toGMTString();
        }
        document.cookie = str;
        alert("添加cookie成功");
    }

    function getCookie(objName) {
        var arrStr = document.cookie.split("; ");
        for (var i = 0; i < arrStr.length; i++) {
            var temp = arrStr[i].split("=");
            if (temp[0] == objName) return unescape(temp[1]);
        }
    }

    function delCookie(name) {
        var date = new Date();
        date.setTime(date.getTime() - 10000);
        document.cookie = name + "=a; expires=" + date.toGMTString();
    }
   </script>
   <script language="JavaScript" type="text/javascript">
       $(document).ready(function () {
           $(".username").val(getCookie("sd-username"));
           $(".password").val(getCookie("sd-password"));


           $(".jCarouselLite").jCarouselLite({
               auto: 3000,
               scroll: 4,
               speed: 1000,
               visible: 8
           });
       });


    </script>
 <div id="all">
 <div class="index">
<div class="qiyeyuanqu">
    <div class="jCarouselLite">
        <ul>
            <%
    		set rs=server.createobject("adodb.recordset") 
    		exec="select top 16 * from Enterprise where elite=1 order by id desc" 
    		rs.open exec,conn,1,1  
    		do while not rs.eof 
    		response.write "<li><a target='_blank' href='EntrepreneursContent.asp?id="& rs("id") &"'><img src='"& rs("Logo") &"'></a></li>" & vbcrlf
    		rs.movenext
    		loop
    		rs.close
    		set rs=nothing
    		%>
        </ul>
    </div>
</div>
</div>
</div>
</body>
</html>
